import Vue from 'vue'
import App from './App.vue'
import './config'
import router from './router'
Vue.config.productionTip = false

Vue.filter("handleStr", (val) => {
  if (val.length > 4) {
    return val.slice(0, 4) + "..."
  } else {
    return val
  }
})

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
